// 公共接口
import request from '../utils/request'

// 登录接口
	export const toLoginApi=(data)=>{
		return request("/Handler/UserHandler.ashx?action=login","post",data)
	}
// 注册接口
export const toRegApi=(data)=>{
	return request("/Handler/UserHandler.ashx?action=add","post",data)
}
// 退出登录接口
export const quitApi=(userName)=>{
	return request("/Handler/UserHandler.ashx?action=quit","post")
}